﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Model;
using DAL;
using BLL;
namespace Web.Admin
{
    public partial class Default : System.Web.UI.Page
    {
        public UserInfo obj { get; set; }
        protected void Page_Load(object sender, EventArgs e)
        {
            UserInfo o = (UserInfo)(Session["user"]);
            this.obj = o;
            List<Article> objs = ArticleBll.SelectTop(5, "","");
            this.Repeater1.DataSource = objs;
            this.Repeater1.DataBind();
        }
    }
}